/**
 * copyright(c) 2013 www.jiongshibaoliao.com, All Rights Reserved.
 * project: jiongshibaoliao 
 * author: 曾帅
 * date: 2014-1-9 下午04:59:57
 * version: v1.0
 */

package com.jiongshibaoliao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.jiongshibaoliao.common.mybatis.PageBean;
import com.jiongshibaoliao.model.Article;

/**
 * @project jiongshibaoliao
 * @author 曾帅
 * @version 1.0
 * @date 2014-1-9 下午04:59:57
 */

public interface ArticleMapper extends BaseMapper {

	public List<Article> getArticlePageList(@Param(value = "pageBean") PageBean pageBean, @Param(value = "map")Map<String, Object> map);
	
	public List<Article> getMoodMostArticlePageList(@Param(value = "pageBean") PageBean pageBean);
	
	public int getUNAuditCount(Map<String, Object> map);
	
	public Article getUNAuditRandom(Map<String, Object> map);
	
	public int getAuditArticleCount();
	
	public Article getAuditArticleRandom(long few);
}
